Subject: Re: Parsing Data
From: "Stephen E. Bacher" <[email-masked]>
Date: Sat, 29 Jan 1994 18:41:50 -0500
Newsgroups: comp.lang.rexx

>>Just change the parse line to either ...
>>
>>  parse value d with f1 '|' f2 '|' f3 '|' f4
>>
>>or...
>>
>>  parse var d f1 '|' f2 '|' f3 '|' f4

A better, more general solution is

 do while d <> ""
  parse var d field '|' d
  call process_it d
 end

or

 array. = ""
 do i = 1 while d <> ""
  parse var d array.i '|' d
 end

 - seb